package com.woniuxy.huayoung.service.impl;

import com.woniuxy.huayoung.entity.FlightInfos;
import com.woniuxy.huayoung.mapper.FlightInfosMapper;
import com.woniuxy.huayoung.service.FlightInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author dushen
 * @className: FlightInfoServiceImpl
 * @description: TODO 类描述
 * @create 2021-07-19-13:36
 */
@Service
public class FlightInfoServiceImpl implements FlightInfoService {

    @Resource
    private FlightInfosMapper flightInfoMapper;

    @Override
    public List<FlightInfos> findAllFlightInfos(FlightInfos flightInfos) {
        return flightInfoMapper.findAllFlightInfos(flightInfos);
    }

    @Override
    public FlightInfos findByid(int id) {
        return flightInfoMapper.findByid(id);
    }
}
